﻿using UnityEngine;
using System.Collections;

public class StartUpScripts : MonoBehaviour {
	public static int keysGrabbed;
	public static int PlayerHealth = 100;
	public GameObject player;
	public GameObject losetext;

	void Update(){
		//Debug.Log ("StartUpScripts " + keysGrabbed);
		if (PlayerHealth == 0) {
			Destroy(player);
			losetext.SetActive(true);
		}
	}
}
